home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re AutoScroll < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  2.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: AutoScroll
  2. Sent:        6/13/96 12:56 PM
  3. Received:    6/13/96 1:11 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >1) I had wanted to implement the auto scroll in such a way that it scrolls 
  9. >faster the father the away the user drags.  It appears I can get it to 
  10. >work for drag selection and resizing, but not for dragging content.  This 
  11. >is because the FW_CDropTracker is destroyed if the user drags outside the 
  12. >frame.  As far as I can tell, there is no way around this limitation -- is 
  13. >that correct.
  14. >
  15.  
  16. This would be strange. If the user tries to drag something out of your 
  17. part (lets say on the desktop) do you want your content to continue 
  18. scrolling while the user is looking for a place to drop? I can imagine 
  19. that to be very annoying. You should not have any autoscrolling during a 
  20. drag when your are outside of the frame. 
  21.  
  22. >2) My next thought was to implement the auto scroll the way the finder 
  23. >does, by scrolling when the user drags over scroll bars, window TitleBar, 
  24. >or within 15 pixels of the left edge of the window.  Since the 
  25. >AutoScrollInset is only a fixed, however, it is impossible for me to set 
  26. >the inset on the left differently from the other 3 sides.  As a future 
  27. >enhancement, I would suggest making the inset a rect, or at least a point.
  28. >
  29. Something similar has already been suggested to me.
  30.  
  31. >3) Thinking that autoscrolling to the left would be rare in my part 
  32. >anyway, I made my AutoScrollInset -1 so that it would start scrolling 1 
  33. >pixel outside the content view (i.e. in the scroll bars like Finder). It 
  34. >worked fine for drag selection and resizing, but not for dragging.  Any 
  35. >idea why?
  36.  
  37. Might be the same reason as in 1)
  38.  
  39. ........................................................................
  40.  Henri Lamiraux                                      lamiraux@apple.com
  41.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  42. ........................................................................
  43.  
  44.